package com.atguigu.guli.service.edu.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.base.result.ResultCodeEnum;
import com.atguigu.guli.service.edu.feign.OssFeignClient;
import org.springframework.stereotype.Component;

@Component
public class OssFeignClientFallback implements OssFeignClient {
    @Override
    public R deleteFile(String path, String module) {
        return R.setResult(ResultCodeEnum.FILE_DELETE_ERROR); //
    }
}
